import request from '@/utils/request'

// 查询资产空闲ip列表
export function listAssetidleip(query) {
  return request({
    url: '/asset/assetidleip/list',
    method: 'get',
    params: query
  })
}

// 查询资产空闲ip详细
export function getAssetidleip(id) {
  return request({
    url: '/asset/assetidleip/' + id,
    method: 'get'
  })
}

// 新增资产空闲ip
export function addAssetidleip(data) {
  return request({
    url: '/asset/assetidleip',
    method: 'post',
    data: data
  })
}

// 修改资产空闲ip
export function updateAssetidleip(data) {
  return request({
    url: '/asset/assetidleip',
    method: 'put',
    data: data
  })
}

// 删除资产空闲ip
export function delAssetidleip(id) {
  return request({
    url: '/asset/assetidleip/' + id,
    method: 'delete'
  })
}
